package com.wlz.behavioral.strategy.actual.strategy;


import com.wlz.behavioral.strategy.actual.ExecutorRouter;

import java.util.List;

public class ExecutorRouteLast extends ExecutorRouter {

    @Override
    public String route(List<String> addressList) {
        return addressList.get(addressList.size()-1);
    }

}
